<%@ page import="com.bean.User" %><%--
  Created by IntelliJ IDEA.
  User: chensir
  Date: 2020/12/9
  Time: 22:14
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>loginHead</title>
</head>
<body>
<%
    User user = (User) session.getAttribute("user");
    String userName = (String) user.getUsername();
%>
<div class="loginHead"><span>欢迎你,<%=user.getRealname()%></span>
    <div id="time"></div>
    <div class="out">
        <button id="out">安全退出</button>
    </div>
</div>
</body>
</html>
